<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Sms extends MY_Controller{
	
	function __construct(){
		parent::__construct();
		if(!$this->admin) redirect('admin990/login');
	}
	
	function index()
	{
		 // load library
        $this->load->library('nexmo');
        // set response format: xml or json, default json
        $this->nexmo->set_format('json');
         // *********************************Account - Get Balance*********************************
      

			$data['title'] = "SMS";
			$data['admin'] = $this->admin;
			$this->load->view('admin/header',$data);
			$this->load->view('admin/sms/index');
	}
}